/**
 * 
 */
package cc.telecomdigital.tdstock.activity.groups.more.push.util;

/**
 * 
 * Project：stringutil Class：WriteString desc： Createor：hunter Create Time：16 Oct
 * 2011 10:21:01 Modify：hunter Modify Time：16 Oct 2011 10:21:01 Modify Marks：
 * 
 * @version
 * 
 */
public class WriteString
{
	/**
	 * 目标字符串加工写入
	 * 
	 * @param s
	 * @return
	 */
	public static String write(String s)
	{
		String[] str = s.split("");
		String temp = "";
		for (int i = 1; i < str.length; i++)
		{
			if (CharWord.isCH_ZN(str[i]))
			{
				temp = temp + "&" + str[i];
			}
			else
			{
				temp = temp + "&" + CharWord.charToInteger(str[i]);
			}
		}
		temp = temp.substring(1, temp.length());
		return temp;
	}
}
